package com.heitian.ssm.service;

import com.heitian.ssm.model.UserEntity;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: mishuai
 * Date: 2018-04-22
 * Time: 01:01
 * Des:
 */
public interface UserLoginService {
    /**
     * 登录
     * @param name
     * @param passwd
     * @return
     */
    UserEntity login(String name,String passwd);

    int register(UserEntity userEntity);

    UserEntity getUserCard(String userName);
}
